{template header}
<script type="text/javascript" src="{GODHOUSE_DOMAIN_IMAGE}js/calendar.js"></script>
<script type="text/javascript" src="{GODHOUSE_DOMAIN_IMAGE}js/calendar-zh.js"></script>
<link href="{GODHOUSE_DOMAIN_IMAGE}css/calendar.css" rel="stylesheet" type="text/css" />
<div class="path">
	<span><a href="category-admin.htm">分类管理</a></span>
	<span>折扣设置</span>
</div>
<div class="content">
	<div class="c1">
	<form action="discount-setting.htm" method="post">
	      <table width="100%" border="0" cellspacing="2" cellpadding="2" style="text-align:center">
	        <tr>
	          <td width="15%" height="30" align="right"><b>产品分类名称</b>：</td>
	          <td width="85%" align="left">$category[cateName]</td>
	        </tr>
	        <tr><td align="right" height="50"><b>用户组</b>：</td><td class="grey" align="left">只能为两位数字，例：85折</td></tr>
	         <!--{loop $userGroupList $v}-->
	        <tr>
	          <td height="30" align="right">$v[groupName]：</td>
	          <td align="left">
	          <input type="text" name="groups[{$v[groupId]}]" value="$v['discountRate']" style="width:50px" /> 折
	          </td>
	        </tr>
	        <!--{/loop}-->
	        <tr>
	          <td height="50" align="right">&nbsp;</td>
	          <td align="left">
			<input type="submit" class="bigButton" name="submitTo" value="  提交  " />
			<input type="hidden" name="categoryId" value="$category[categoryId]" />
	          </td>
	        </tr>
	      </table>
	      </form>
	</div>
</div>
<script>
function verifyFrom() {
	/*
	var email = $('email');
	if(email.value == '') {
		$('email').focus();
		$('err_email').innerHTML = '<span style="color:red">&nbsp;&nbsp;&nbsp;&nbsp;请输入邮箱</span>';
		return false;
	}
	return true;
	*/
}
</script>
{template footer}